import React, { Component, PropTypes } from 'react';
import { Utility } from 'components';
import { connect } from 'react-redux';
import * as CommonActions from 'redux/modules/reduxCommon';
const styles = require('./scss/MeetingNotify.scss');

@connect(
  state => ({
    Title: state.Common.Title,                                          // 标题
    UrlParams: state.Common.UrlParams,                                  // URL参数
  }),
  { ...CommonActions })
export default class MeetingNotify extends Component {
  static propTypes = {
    Title: PropTypes.string,                                              // 标题
    UrlParams: PropTypes.object,                                          // url 参数
  };

  constructor(props) {
    super(props);

    this.state = { RefreshComplete: true, NextDataComplete: true };
    this.state.ScrollData = [];
  }

  componentDidMount() {
    const { } = Utility;
    this.state.IsMount = true;
  }

  componentWillUnmount() {
    delete this.state.IsMount;
  }

  /**
   * 更新渲染
   */
  __UpdateRender() {
    if (!!this.state.IsMount) {
      this.setState({ __CurrentTempDate: new Date().getTime() });
    }
  }

  render() {
    return (
      <div className={styles.meetingNotifyCss}>
        MeetingList Notify
      </div>
    );
  }
}

